
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
    <title>上传文件</title>
</head>
<body>
    <s:fielderror/>
    <form action="up.action" method="post" enctype="multipart/form-data">
        文件标题<input type="text" name="title"/><br/>
        选择文件<input type="file" name="upload"/><br/>
        <input type="submit" value="上传"/>
        <input type="reset" value="重置"/>
    </form>
</body>
</html>
